import * as React from 'react';
import { Provider } from 'react-redux';

import { store } from './redux/store';
import { getAppStackComponent } from './constants/route';
const AppStackComponent: any = getAppStackComponent();

export default class App extends React.PureComponent<any, any> {

    render() {
        return (
            <Provider store={store}>
                <AppStackComponent />
            </Provider>
        );
    }
}